-- GENERATED SPELL FOR [Willy Maybe] --


function spell0_32524(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32524', 5282, 1)
end

function Sorts_32524(pUnit, Event)
local choix_sorts_32524 = math.random(0, 0)
if choix_sorts_32524 == 0 then
pUnit:RegisterEvent('spell0_32524', 1, 1)
end
end

function mob32524_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32524', math.random(1500, 3000), 1)
end

function mob32524_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32524_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32524_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32524, 1, 'mob32524_Action')
RegisterUnitEvent(32524, 2, 'mob32524_Leave')
RegisterUnitEvent(32524, 3, 'mob32524_Kill')
RegisterUnitEvent(32524, 4, 'mob32524_Die')
